<?php
class ShareBookAction extends CommonAction {
	// TODO - Insert your code here
	
	
	public function index()
  {
		$phonebook=M('PhoneBook');
		$fullname=$_REQUEST['fullname'];
		if(!empty ($fullname) )
		{
			$map['fullname']=array('like',"%".$fullname."%");
		}
		//查找共享字段的值
		$map['isshared']=1;
		$this->assign("fullname",$fullname);
	    $this->_list($phonebook, $map);
	    $this->display();
 } 
}
?>